<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>登录</title>
</head>
<body background="<%=request.getContextPath()%>/img/a.jpg">
<div style="width:100%;text-align:center">
    <h2>明星管理系统</h2>
<form action="<%=request.getContextPath()%>/user/login" method="post">
    姓名:<input type="text" name="username"><br />
    密码:<input type="password" name="password"><br />
    <input value="登录" type="submit">
    <a href="<%=request.getContextPath()%>/user/register">注册</a>
    <span style="color:red;font-size:12px">${msg}</span>
</form>
</div>
</body>
</html>